<%@page import="com.wuye.entity.Users"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
Users users=(Users)session.getAttribute("sessionid");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title></title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
  </head>
  <body>
 	 <jsp:include page="driver.jsp"></jsp:include>
			<div align="center">
			<form action="tousu/save.do" method="post" id="form1">
				<table cellpadding="5" style="color:blueviolet;margin-top: 40px;">
		    		<tr>
		    			<td>投诉内容:</td>
		    			<td>
		    				<textarea class="easyui-validatebox" type="text" name="neirong" data-options="required:true" maxlength="500" cols="100" rows="20"></textarea>
		    				<input value="<%=users.getId()%>" name="users.id" type="hidden">
		    			</td>
		    		</tr>
		    	</table>
				<a href="#" class="easyui-linkbutton" onclick="if($('#form1').form('validate')){$('#form1').submit();}" data-options="iconCls:'icon-ok'" style="margin-right: 80px;margin-top: 20px;">确定</a>
				<a href="#" class="easyui-linkbutton" onclick="$('#form1').form('clear');$('#add').dialog('close');" data-options="iconCls:'icon-cancel'" style="margin-top: 20px;">取消</a>
			</form>
			</div>
  </body>
  <script type="text/javascript">
  	var msg="<%=request.getAttribute("msg")%>";
  	if(msg!="null"){
  		$.messager.alert('提示',msg); 
  	}
  </script>
</html>
